#include "../Species/Species.h"

#include <cmath>
#include <ctime>
#include <cstdlib>
#include <algorithm>

#include <iostream>

#include <omp.h>


#include "PartBoundCond.h"
#include "../PhysicalField/PhysicalField.h"
#include "../Grid/Grid.h"
#include "../Grid/Grid2D.h"
#include "../Parallel/ParallelMPI.h"
#include "../Field/Field1D.h"
#include "../Field/Field2D.h"
#include "../Field/Field3D.h"
#include "../Tool/Macros.h"

using namespace std;

//---------------------------------------------------------------------------------------------------------------------
//Creator for Species
//input: simulation parameters & Species index
//---------------------------------------------------------------------------------------------------------------------
Species::Species(PicParams* params_, ParallelMPI* pmpi_, int ispec) :
    params(params_),
    pmpi(pmpi_),
    species_number(ispec),
    species_param(params->species_param[ispec])
{

    //cout<<"species base class"<<endl;
    //log_info<<species_param.species_name<<" timestep_frozen: "<<species_param.timestep_frozen;

}


//---------------------------------------------------------------------------------------------------------------------
//Destructor for Species
//---------------------------------------------------------------------------------------------------------------------
Species::~Species()
{
    log_debug<<"Species deleted";
}


